<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">

    <title>动漫资源分享</title>

    <!-- Bootstrap core CSS -->
    <link href="__PUBLIC__/assets/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="__PUBLIC__/assets/css/offcanvas.css" rel="stylesheet">
    <link href="__PUBLIC__/assets/css/style.css" rel="stylesheet">
    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]>
    <script src="assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="__PUBLIC__/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body>
<nav class="navbar navbar-fixed-top navbar-inverse">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
     
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li><a href="{:U('Index/index')}">首页 <span class="sr-only">(current)</span></a></li>
       <li><a href="{:U('Home/videos/videolist/videoarea/日本')}">日本</a></li>
        <li><a href="{:U('Home/videos/videolist/videoarea/欧美')}">欧美</a></li>
        <li><a href="{:U('Home/videos/videolist/videoarea/中国')}">中国</a></li>
      </ul>
     <form class="navbar-form navbar-left" role="search" action="{:U('videos/search')}">
        <div class="form-group">
          <input type="text" name="videoname" class="form-control" placeholder="动漫名称">
        </div>
        <button type="submit" class="btn btn-default">搜索</button>
      </form>
      <ul class="nav navbar-nav navbar-right">
      <li><a href="{:U('admin/Index/index')}">管理员登录</a></li>
         <li><a href="{:U('users/login')}">用户登录</a></li>
        <li><a href="{:U('users/reg')}" >注册</a></li>
      
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

<!-- /.navbar -->


<div class="container">
<!--幻灯片开始-->
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
    <!-- Indicators -->
    <ol class="carousel-indicators">
        <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
        <li data-target="#carousel-example-generic" data-slide-to="1"></li>
        <li data-target="#carousel-example-generic" data-slide-to="2"></li>
    </ol>

    <!-- Wrapper for slides -->
    

    <!-- Controls -->
    <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left"></span>
    </a>
    <a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right"></span>
    </a>
</div>
<!--幻灯片结束-->



    <div class="row row-offcanvas row-offcanvas-right">

        <div class="col-xs-12 col-sm-9">


            <div class="row text-center">
                <div class="col-xs-4 col-lg-12 mlist">
                    <ul class="list-inline row text-center">
                        <li class="col-xs-4 col-sm-5 col-lg-6">
                                 <table class='table table-striped table-hover'>
 <tr><th>动漫编号</th><th>动漫名称</th><th>动漫地区</th></th><th>图片</th><th>下载量</th><th>介绍</th><th>下载</th></tr>
                                  
 <volist name="videos" id="vo">
 <tr>
          <td>{$vo.vid}</td>

          <td>{$vo.videoname}</td>
          <td>{$vo.videoarea}</td>
          <td><img width='100' height='100' src="__PUBLIC__/Uploads/videophoto/{$vo.pic}"></td>
          <td>{$vo.uploadtime}</td>
          <td>{$vo.intro}</td>
          <td><a class="btn btn-danger btn-sm btn-block" href="__URL__/download/vid/{$vo.vid}">下载</a></td>
                      </volist>
                        </li>

                    </ul>
                </div>
                <!--/.col-xs-6.col-lg-4-->
<div class="jogger col-md-10   col-sm-offset-3 col-md-offset-4 col-xs-offset-2" >
          {$link}
        <p>{$pageNav}</p>
    </div>
            </div>
            <!--/row-->
        </div>
        <!--/.col-xs-12.col-sm-9-->

       
        <!--/.sidebar-offcanvas-->
    </div>
    <!--/row-->

   

</div>
<!--/.container-->
 <hr>

    

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="__PUBLIC__/assets/js/jquery.min.js"></script>
<script src="__PUBLIC__/assets/js/bootstrap.min.js"></script>

<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="__PUBLIC__/assets/js/ie10-viewport-bug-workaround.js"></script>

<script src="offcanvas.js"></script>
<script>
    $('.carousel').carousel({
        interval: 3000 //changes the speed
    })
</script>
</body>
</html>
